<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>const定义常量</title>
</head>
<body>
<script>
  //声明常量
  const SCHOOL = "mask";

  //1.const定义一定要给值
  const a='1';

  //2.一般常量使用大写

  //3.常量的值不能修改

  //4.块级作用域
  {
    const PLAY = "aaa";
  }
  console.log(PLAY);

  //5.对于数组和对象的元素修改，不算做对常量的修改，不会报错
  const TEAM = ['UZI','MXLG'];
  TEAM.push('MEIKO');


</script>

</body>
</html>